package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 抄表报表对象 omp_ny_check_report
 *
 * @author zmc
 * @date 2022-08-23
 */
@Data
@ApiModel
public class NyCheckReport implements Serializable {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 仪表Id */
    @Excel(name = "仪表Id")
    @ApiModelProperty(value = "仪表Id")
    private String meterId;

    @Excel(name = "倍率")
    @ApiModelProperty(value = "倍率")
    private BigDecimal magnification;

    private String parentId;

    private String meterNum;

    private String meterModel;
    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String meterType;

    /** 园区编号 */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    /** 安装位置 */
    @Excel(name = "安装位置")
    @ApiModelProperty(value = "安装位置")
    private String installPosition;

    /** 业务分类 */
    @Excel(name = "业务分类")
    @ApiModelProperty(value = "业务分类")
    private String category;

    /** 用途 */
    @Excel(name = "用途")
    @ApiModelProperty(value = "用途")
    private String use1;

    /** 企业id */
//    @Excel(name = "企业id")
//    @ApiModelProperty(value = "企业id")
    private String enterpriseId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /** 费用周期 */
    @JsonFormat(pattern = "yyyy-MM")
    @DateTimeFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "费用周期")
    private Date feeCycle;

    /** 上期读数 */
    @Excel(name = "上期读数")
    @ApiModelProperty(value = "上期读数")
    private BigDecimal lastValue;

    /** 本期读数 */
    @Excel(name = "本期读数")
    @ApiModelProperty(value = "本期读数")
    private BigDecimal currentValue;

    /** 实际用量 */
    @Excel(name = "实际用量")
    @ApiModelProperty(value = "实际用量")
    private BigDecimal actualDosage;

    /** 分摊用量 */
    @Excel(name = "分摊用量")
    @ApiModelProperty(value = "分摊用量")
    private BigDecimal shareDosage;

}
